package com.lg.patter.behavior.observed.callback;

/**
 * @author by Mr. Li 2020/6/11 13:15
 */
public class EventObject extends java.util.EventObject  {
    /**
     * Constructs a prototypical Event.
     *
     * @param source The object on which the Event initially occurred.
     * @throws IllegalArgumentException if source is null.
     */
    public EventObject(Object source) {
        super(source);
    }

    public void doEvent(){
        System.out.println("Inform you to die...");
    }
}
